package shuai1.action;

public class InterceptorAction extends BaseAction {
	//定义休眠时间
	private int sleep;
	public String execute(){
		System.out.println("正在执行execute方法。。。");
		try {
			Thread.sleep(sleep);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		return "success";
	}
	
	public int getSleep(){
		return sleep;
	}
	
	public void setSleep(int sleep){
		this.sleep=sleep;
	}
}
